package org.anupta.realm.server.realm.packet;

import org.anupta.realm.server.realm.client.RealmClient;

public abstract class RealmPacket {
	public abstract void unpack();
	public abstract void pack();
	public abstract void doPacket();
	public RealmClient client = null;
	public StringBuilder packetOut = new StringBuilder();
	public StringBuilder packetIn = new StringBuilder();
	
	public RealmPacket(RealmClient client, String message){
		setClient(client);
		packetIn.append(message);
	}
	public RealmPacket(RealmClient client){
		this.client = client;
	}
	
	private void setClient(RealmClient client){
		this.client = client;
	}
}
